C-minor v0.0

IAstStatementVisitor<T> Interface

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Ast

Visitor pattern callback for AstStatement

public interface IAstStatementVisitor<T>

Type Parameters

T

A visitor defined return value for the visitor callbacks

Methods

Visit(AstExpressionStatement)

Visitor callback for

Visit(AstCompilationUnit)

Visitor callback for

Visit(AstCodeBlock)

Visitor callback for AstCodeBlock

Visit(AstBreakStatement)

Visitor callback for AstBreakStatement

Visit(AstContinueStatement)

Visitor callback for AstContinueStatement

Visit(AstIfStatement)

Visitor callback for AstIfStatement

Visit(AstFunctionDeclarationStatement)

Visitor callback for AstFunctionDeclarationStatement

Visit(AstForStatement)

Visitor callback for AstForStatement

Visit(AstReturnStatement)

Visitor callback for AstReturnStatement

Visit(AstSwitchStatement)

Visitor callback for AstSwitchStatement

Visit(AstVariableDeclarationStatement)

Visitor callback for AstVariableDeclarationStatement

Visit(AstVariableDeclaration)

Visitor callback for AstVariableDeclarationStatement

Visit(AstWhileStatement)

Visitor callback for AstWhileStatement

Visit(AstDoWhileStatement)

Visitor callback for AstDoWhileStatement

Visit(AstClassOrStructDeclarationStatement)

Visitor callback for AstClassOrStructDeclarationStatement